using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace LS.Saving
{
    public abstract class SaveHelperBase : MonoBehaviour, ISavingHelper
    {
        public abstract void GetAllFiles(string folder, string searchExt, Action<IDataFile[]> onResult);

        public abstract void LoadFile(IDataFile file, Database dataBase, Action<bool, string> onResult);

        public abstract void SaveFile(IDataFile file, Database dataBase, Action<bool, string> onResult);

        public abstract void DeleteFile(IDataFile file);

        public abstract IDataFile CreateDataFile(string folder, string fileName, string fileExtension);

        public abstract IDataFile CreateDataFile(string filePath);
    }
}
